package com.zhongyouyun.admin.mapper;

import com.zhongyouyun.admin.model.DeptModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @Author: shenyi
 * @Date: 2021-12-17
 * @Description: Mapper
 */
@Mapper
public interface DeptMapper extends BaseMapper<DeptModel> {

    List<DeptModel> findDeptTreeList(DeptModel deptModel);

    String getoid(@Param(value = "deptId") Long deptId);

    String getchild(@Param(value = "deptId") Long deptId);
}
